package com.gallery.service;

import com.baomidou.mybatisplus.extension.service.IService;
import dto.PageDTO;
import entity.Images;
import query.ImagesQuery;
import vo.ImagesVO;

import java.util.List;

/**
 * @param
 * @return
 */
public interface IImagesService extends IService<Images> {

    PageDTO<ImagesVO> querypage(ImagesQuery imagesQuery);


    void upHot(Long imagesId);

    void deleteBatch(List<Long> ids);

    List<ImagesVO> getRandoms();

    List<ImagesVO> getRandomsByUser(Long userId);

    ImagesVO detailed(Long id);

    List<String> getHotClazz();

    List<Images>getall(Long currentId);

    PageDTO<ImagesVO> getImageQuery(List<Images> images, ImagesQuery imagesQuery);
}
